package com.ternnetwork.oa.enums.messages;

public enum EventMessages {

	FAILED_MESSAGE_TITLE_CAN_NOT_BE_EMPTY(0,"操作失败,事件名称不能为空!"),
	FAILED_MESSAGE_START_CAN_NOT_BE_EMPTY(1,"操作失败,开始时间不能为空!"),
	FAILED_MESSAGE_EVENT_END_TIME_CAN_NOT_LESS_THAN_CURRENT_TIME(2,"操作失败,事件结束时间不能小于当前时间！");

	private  Integer index;

	private  String name;

    private EventMessages(int index, String name) {
		this.index = index;
		this.name = name;
	}

    public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

 

}
